package com.cn.kehong.domain;

import com.google.common.collect.ImmutableMap;

import java.util.Date;
import java.util.Map;

public class ProductThinPeriod {
    private String id;

    private String peiId;

    private String productCode;

    private String factoryName;

    private String thickGuanCode;

    private String startTime;

    private String endTime;

    private String spendTime;

    private String thinLine;

    private String revoSpeed;

    private String banSepeed;

    private String temperature;

    private String thinGuanCode;

    private String resverGuan;

    private String thinFinalCode;

    private String thinStatus;

    private String status;

    private String recordName;
    private String startCode;

    private String gradeValue;
    private String lineStatus;
    private String banCi;

    private Date createTime;

    private Date updateTime;

    private int count;

    public static final transient Map<String, String> STATUSMAP =
            ImmutableMap.of("0", "未开始", "1", "进行中", "2", "已完成");

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPeiId() {
        return peiId;
    }

    public void setPeiId(String peiId) {
        this.peiId = peiId == null ? null : peiId.trim();
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName == null ? null : factoryName.trim();
    }

    public String getThickGuanCode() {
        return thickGuanCode;
    }

    public void setThickGuanCode(String thickGuanCode) {
        this.thickGuanCode = thickGuanCode == null ? null : thickGuanCode.trim();
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public String getSpendTime() {
        return spendTime;
    }

    public void setSpendTime(String spendTime) {
        this.spendTime = spendTime == null ? null : spendTime.trim();
    }

    public String getThinLine() {
        return thinLine;
    }

    public void setThinLine(String thinLine) {
        this.thinLine = thinLine == null ? null : thinLine.trim();
    }

    public String getRevoSpeed() {
        return revoSpeed;
    }

    public void setRevoSpeed(String revoSpeed) {
        this.revoSpeed = revoSpeed == null ? null : revoSpeed.trim();
    }

    public String getBanSepeed() {
        return banSepeed;
    }

    public void setBanSepeed(String banSepeed) {
        this.banSepeed = banSepeed == null ? null : banSepeed.trim();
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature == null ? null : temperature.trim();
    }

    public String getThinGuanCode() {
        return thinGuanCode;
    }

    public void setThinGuanCode(String thinGuanCode) {
        this.thinGuanCode = thinGuanCode == null ? null : thinGuanCode.trim();
    }

    public String getResverGuan() {
        return resverGuan;
    }

    public void setResverGuan(String resverGuan) {
        this.resverGuan = resverGuan == null ? null : resverGuan.trim();
    }

    public String getThinFinalCode() {
        return thinFinalCode;
    }

    public void setThinFinalCode(String thinFinalCode) {
        this.thinFinalCode = thinFinalCode == null ? null : thinFinalCode.trim();
    }

    public String getThinStatusCn() {
        return STATUSMAP.get(getThinStatus());
    }
    public String getThinStatus() {
        return thinStatus;
    }

    public void setThinStatus(String thinStatus) {
        this.thinStatus = thinStatus == null ? null : thinStatus.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getRecordName() {
        return recordName;
    }

    public void setRecordName(String recordName) {
        this.recordName = recordName;
    }

    public String getStartCode() {
        return startCode;
    }

    public void setStartCode(String startCode) {
        this.startCode = startCode;
    }

    public String getGradeValue() {
        return gradeValue;
    }

    public void setGradeValue(String gradeValue) {
        this.gradeValue = gradeValue;
    }

    public String getLineStatus() {
        return lineStatus;
    }

    public void setLineStatus(String lineStatus) {
        this.lineStatus = lineStatus;
    }

    public String getBanCi() {
        return banCi;
    }

    public void setBanCi(String banCi) {
        this.banCi = banCi;
    }
}